package com.yuanduan.mplus.view;

import android.view.View;
import android.widget.ImageView;

import com.cj.framework.app.BaseActivity;
import com.yuanduan.mplus.R;

public class DemoActivity extends BaseActivity implements View.OnClickListener {
    private ImageView iv_back;
    @Override
    protected void findId() {
        iv_back= (ImageView) findViewById(R.id.demo_iv_back);
    }

    @Override
    protected void logic() {
        iv_back.setOnClickListener(this);
    }

    @Override
    protected int setLayout() {
        return R.layout.activity_demo;
    }

    @Override
    public void onClick(View v) {
        this.finish();
    }
}
